<!DOCTYPE html>
<html>
<head th:include="common/header_css::header('霸王餐小程序后台管理-','%')"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox float-e-margins">
        <div th:replace="common/toolbar::toolbar('管理')"></div>
        <!--<div th:replace="common/search::search('%add')"></div>-->
        <div class="ibox-content">
            <div class="row row-lg">
                <div class="col-sm-12">
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            查询条件
                        </div>
                        <div class="panel-body form-inline" style="margin-bottom:0px;">
                            <div class="pull-right" id="saveDiv">
                                <!--<button data-toggle="modal" class="btn btn-outline btn-primary" href="#modal-add-form">-->
                                <!--<i class="glyphicon glyphicon-plus" aria-hidden="true"></i>添加-->
                                <!--</button>-->
                                <button class="btn-sm btn-info btn-sm" data-toggle="modal" href="#modal-add-form"
                                        style="margin-left: 10px">
                                    <i class="glyphicon glyphicon-plus" aria-hidden="true"></i>添加
                                </button>
                            </div>
                            <div class="pull-right">
                                <button class="btn-sm btn-primary btn-sm" id="search_btn">
                                    <i class="glyphicon glyphicon-search" aria-hidden="true"></i>查询
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-sm-12" id="tablediv">
                    <div class="example">
                        <table id="mytable" class="table"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--添加FenxiaoFan模态框-->
<div id="modal-add-form" class="modal fade" aria-hidden="true">
    <div class="modal-dialog" style="width: 900px;">
        <div class="modal-content">
            <div class="modal-body">
                <div class="row">
                    <h3 class="m-t-none m-b">添加</h3>
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <div class="ibox-content">
                                <form id="aform" method="post" class="form-horizontal" action="add"
                                      onsubmit="return checkAdd()">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">会员类型</label>
                                                <div class="col-sm-6">
                                                    <select  onchange="ahytypeChange(this.value,'mlevel','hidmname')" class="form-control select2" name="hytype" id="hytype2">
                                                        <option value="">请选择</option>
                                                        <option th:each="type:${hytypes}" th:value="${type.code}"
                                                                th:text="${type.msg}"></option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">会员级别</label>
                                                <div class="col-sm-6">
                                                    <select onchange="afxlevelChange(this.value)" class="form-control select2" name="mlevel" id="mlevel">
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <input id="hidmname" name="mname" type="hidden" value=""/>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">推荐会员类型</label>
                                                <div class="col-sm-6">
                                                    <select onchange="athytypeChange(this.value,'tlevel','hidtname')" class="form-control select2" name="thytype" id="thytype2">
                                                        <option value="">请选择</option>
                                                        <option th:each="type:${hytypes}" th:value="${type.code}"
                                                                th:text="${type.msg}"></option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">推荐会员级别</label>
                                                <div class="col-sm-6">
                                                    <select onchange="atfxlevelChange(this.value)" class="form-control select2" name="tlevel" id="tlevel">
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                        <input id="hidtname" name="tname" type="hidden" value=""/>
                                    </div>
                                    <div class="row" id="arow1">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">一级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="fan1"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">一级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="xffan1" type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">一级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan1" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow2">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">二级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="fan2"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">二级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="xffan2"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">二级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan2" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow3">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">三级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="fan3"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">三级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="xffan3"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">三级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan3" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow4">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">四级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="fan4"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">四级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="xffan4"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">四级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan4" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow5">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">五级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="fan5"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">五级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="xffan5"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">五级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan5" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow6">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">六级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="fan6"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">六级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="xffan6"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">六级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan6" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="arow7">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">七级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="fan7"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">七级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" name="xffan7"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">七级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan7" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="rowjd" th:if="${jiandian}">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">包含见点奖</label>
                                                <div class="col-sm-6">
                                                    <input type="checkbox" class="js-switch" name="isJiandian" value="-1">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label"></label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--<div class="row">-->
                                        <!--<div class="col-md-6">-->
                                            <!--<div class="form-group">-->
                                                <!--<label class="col-sm-6 control-label">启用状态</label>-->
                                                <!--<div class="col-sm-6">-->
                                                    <!--<input type="checkbox" class="js-switch" name="state" value="-1">-->
                                                <!--</div>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <div class="col-sm-6 col-sm-offset-2">
                                            <button class="btn btn-primary" type="submit">保存内容</button>
                                            <button data-toggle="modal" type="button" class="btn btn-white"
                                                    href="#modal-add-form">取消
                                            </button>
                                        </div>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--修改FenxiaoFan模态框-->
<div id="modal-form" class="modal fade" aria-hidden="true">
    <div class="modal-dialog" style="width: 900px;">
        <div class="modal-content">
            <div class="modal-body">
                <div class="row">
                    <h3 class="m-t-none m-b">修改</h3>
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <div class="ibox-content">
                                <form id="mform" method="post" class="form-horizontal" action="modify"
                                      onsubmit="return checkModify()">
                                    <!--只支持修改返利比例额-->
                                    <!--<div class="row">-->
                                        <!--<div class="col-md-6">-->
                                            <!--<div class="form-group">-->
                                                <!--<label class="col-sm-6 control-label">会员类型</label>-->
                                                <!--<div class="col-sm-6">-->
                                                    <!--<select class="form-control select2" name="hytype" id="hytype" readonly="readonly">-->
                                                        <!--<option value="1">用户级</option>-->
                                                        <!--<option value="2">商家级</option>-->
                                                        <!--<option value="3">代理级</option>-->
                                                        <!--<option value="4">导购级</option>-->
                                                        <!--<option value="5">平台级</option>-->
                                                    <!--</select>-->
                                                <!--</div>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                        <!--<div class="col-md-6">-->
                                            <!--<div class="form-group">-->
                                                <!--<label class="col-sm-6 control-label">会员级别</label>-->
                                                <!--<div class="col-sm-6">-->
                                                    <!--<select onchange="mfxlevelChange(this.value)" class="form-control select2" name="mlevel" id="mlevel">-->
                                                        <!--<option th:each="c:${mfxlist}" th:value="${c.fxlevel}"-->
                                                                <!--th:text="${c.name}"></option>-->
                                                    <!--</select>-->
                                                <!--</div>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                        <!--<input id="hidmname" name="mname" type="hidden" value=""/>-->
                                    <!--</div>-->
                                    <!--<div class="row">-->
                                        <!--<div class="col-md-6">-->
                                            <!--<div class="form-group">-->
                                                <!--<label class="col-sm-6 control-label">推荐会员类型</label>-->
                                                <!--<div class="col-sm-6">-->
                                                    <!--<select onchange="mthytypeChange(this.value)" class="form-control select2" -->
                                                            <!--name="thytype" id="thytype">-->
                                                        <!--<option th:each="c:${fxlist}" th:value="${c.fxlevel}" th:text="${c.name}"></option>-->
                                                    <!--</select>-->
                                                <!--</div>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                        <!--<div class="col-md-6">-->
                                            <!--<div class="form-group">-->
                                                <!--<label class="col-sm-6 control-label">推荐会员级别</label>-->
                                                <!--<div class="col-sm-6">-->
                                                    <!--<select onchange="mtfxlevelChange(this.value)" class="form-control select2" name="tlevel" id="tlevel">-->
                                                        <!--<option th:each="c:${mfxlist}" th:value="${c.fxlevel}"-->
                                                                <!--th:text="${c.name}"></option>-->
                                                    <!--</select>-->
                                                <!--</div>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                        <!--<input id="hidtname" name="tname" type="hidden" value=""/>-->
                                    <!--</div>-->
                                    <div class="row" id="mrow1">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">一级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="fan1" name="fan1"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">一级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="xffan1" name="xffan1" type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">一级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan1" id="shoufan1" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow2">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">二级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="fan2" name="fan2"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">二级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="xffan2" name="xffan2"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">一级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan2" id="shoufan2" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow3">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">三级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="fan3" name="fan3"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">三级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="xffan3" name="xffan3"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">一级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan3" id="shoufan3" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow4">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">四级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="fan4" name="fan4"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">四级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="xffan4" name="xffan4"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">一级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan4" id="shoufan4" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow5">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">五级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="fan5" name="fan5"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">五级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="xffan5" name="xffan5"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">五级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan5" id="shoufan5" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow6">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">六级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="fan6" name="fan6"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">六级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="xffan6" name="xffan6"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">六级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan6" id="shoufan6" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="mrow7">
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">七级返佣</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="fan7" name="fan7"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">七级消费返点</label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                        <input class="form-control" id="xffan7" name="xffan7"
                                                               type="number"/>
                                                        <div class="input-group-addon">%</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-4">
                                            <div class="form-group">
                                                <label class="col-md-5 control-label">七级收入返佣</label>
                                                <div class="col-md-7">
                                                    <div class="input-group m-b">
                                                        <input class="form-control" name="shoufan7" id="shoufan7" type="number"/>
                                                        <span class="input-group-addon">%</span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row" id="ejdrow">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label">包含见点奖</label>
                                                <div class="col-sm-6">
                                                    <input type="checkbox" id="isJiandian" name="isJiandian" value="-1">
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-6 control-label"></label>
                                                <div class="col-sm-6">
                                                    <div class="input-group">
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <!--<div class="row">-->
                                        <!--<div class="col-md-6">-->
                                            <!--<div class="form-group">-->
                                                <!--<label class="col-sm-6 control-label">启用状态</label>-->
                                                <!--<div class="col-sm-6">-->
                                                    <!--<input type="checkbox" id="state" name="state" value="-1">-->
                                                <!--</div>-->
                                            <!--</div>-->
                                        <!--</div>-->
                                    <!--</div>-->
                                    <div class="form-group">
                                        <div class="col-sm-6 col-sm-offset-2">
                                            <button class="btn btn-primary" type="submit">保存内容</button>
                                            <button data-toggle="modal" type="button" class="btn btn-white"
                                                    href="#modal-form">取消
                                            </button>
                                        </div>
                                    </div>
                                    <input id="id" name="id" type="hidden" value=""/>
                                    <input name="state" type="hidden" value="1"/>
                                    <input id="jiandian" type="hidden" th:value="${jiandian}"/>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<input id="hidfxlevel" type="hidden" th:value="${fxlevel}"/>
<input id="hidleftlevel" type="hidden" th:value="${leftlevel}"/>
<div th:include="common/footer_js::footer"></div>
<script src="/js/admin/fenxiaofan.js"></script>
<script th:inline="javascript">
    var msg = [[${msg}]];
    if (msg && msg.length > 0) {
        swal({title: "分销设置提示", text: msg, type: "success"})
    }
    if($("#jiandian").val()<=0){
        $("#ejdrow").hide()
    }
</script>
</body>
</html>
